import axios from "axios";

export default {
  //贝壳查询
  chaxun(id) {
    return axios({
      method: "get",
      url: "/api/userDetails/show.do ",
      headers: { bbtoken: id },
    });
  },

  //充值
  chongzhi(id, a) {
    return axios({
      method: "post",
      url: "/api/userDetails/add.do",
      headers: { bbtoken: id },
      params: { money: a },
    });
  },

  //流水记录
  liu(id) {
    return axios({
      method: "get",
      url: "/api/userDetails/showLog.do",
      headers: { bbtoken: id },
    });
  },

  //星值查询
  xingCha(id) {
    return axios({
      method: "get",
      url: "/api/integral/show.do",
      headers: { bbtoken: id },
    });
  },
};
